package com.xinchao.service;

import com.xinchao.exception.ServiceException;

import java.math.BigDecimal;

/**
 * 费用Service
 *
 * @author dxy
 * @date 2018/11/9 10:13
 */
public interface ChargeService {
	/**
	 * 通过广告主ID获取总费用
	 *
	 * @param advertiserId 广告主ID
	 * @return BigDecimal（总费用）
	 * @throws ServiceException
	 */
	BigDecimal getTotalChargeByAdvertiserId(Long advertiserId) throws ServiceException;
}
